﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SoftwareConsulting.BI11.Controls.Properties;

namespace SoftwareConsulting.BI11.Controls
{
    /// <summary>
    /// Класс надписи-информации
    /// </summary>
    public partial class InformationLabel : UserControl
    {
        private string _text; //текст надписи

        /// <summary>
        /// Возвращает/устанавливает текст надписи
        /// </summary>
        public string LabelText
        {
            get
            {
                return _text;
            }
            set
            {
                _text = value;
                InformationText.Text = _text;                
            }
        }

        public InformationLabel()
        {
            InitializeComponent();
        }
    }
}
